php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#202672 - 04/02/04 03:57 PM [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Modification Name: Games 2.6.1 - Integrated

Author(s): Ian Spence

Description: Adds a game gallery to your forum

Difference between this and Allen's version:
This version is completely integrated with your UBB. Using who's online, you can tell what game a person is playing.
This also uses the spider friendly links.
Wordletized, so you can change names of games. (ie, Allen's mod had games' names in this format: "rigelianhotshots", whereas mine has "Rigelian Hot Shots"
I've added the requested link at the top of forums.

2.6 adds use of cached pages and the PHP acclerator

2.6.1 adds the ability to restrict game access to members who can access certain forums. Also fixes the bug that allowed unregistered users to play games with the accelerator pages even if disabled in the .cgi pages

Demo: http://www.alforadmin.com/ubb/ultimatebb.php/games.html

Requirements: 6.7+

Credits: Allen and Burak for the original code.
LK for the code for sorting.
Josh Pettit for ubb.threads version - www.threadsdev.com

Download Links:
Current Version - Use if upgrading or first install
(1.8mb) - only the flash/graphics files


Download both zips if this is your first install.

Top
#202673 - 04/02/04 04:33 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
cool
_________________________
- Allen wavey
- What Drives You?

Top
#202674 - 04/04/04 06:12 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
HamrWebDesign Offline
Junior Member

Registered: 04/04/04
Posts: 21
Loc: Phoenix, AZ
I followed the instructions in your "Games Install" .txt and nothing appears in my forums for the games. I must be missing something. Also I assumed that "image" directory would be uploaded to "modules" in my CGI directory and that games would go in to my non-cgi directory. Is this right? Thanks!

Top
#202675 - 04/04/04 06:24 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
clear the cache laugh

Top
#202676 - 04/04/04 06:32 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
remember that the game files and images go in the same folder.

Also, you need to update the paths at the top of ubb_games.cgi

Top
#202677 - 04/04/04 07:04 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
HamrWebDesign Offline
Junior Member

Registered: 04/04/04
Posts: 21
Loc: Phoenix, AZ
Quote:
Originally posted by Ian Spence:

remember that the game files and images go in the same folder.

Also, you need to update the paths at the top of ubb_games.cgi


I'm afraid that I am not following you. I cleared the cache and now the games show up. 4 of the games are showing up and working perfectly while the remaining 4 are not. I get a can't find message and their titles are messed up. I'm confused why half work and half do not.

Top
#202678 - 04/04/04 07:27 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
HamrWebDesign Offline
Junior Member

Registered: 04/04/04
Posts: 21
Loc: Phoenix, AZ
Ok so I was able to get all of the games to work by chaning their file names on my server. There was a discrepency with regards to the names that were being called when clicking on their respective links and what the actual names of the games were from the download. Now I'm trying to figure out how to correct the issue of their titles being off within my game index in the forums.

Top
#202679 - 04/04/04 07:35 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
HamrWebDesign Offline
Junior Member

Registered: 04/04/04
Posts: 21
Loc: Phoenix, AZ
I had to go in to vars_wordlets_games.cgi and change the names to the correct file names in order to fix the titles within my forums. All is well just thought I'd share the fix with other who may be having issues with this mod.

Top
#202680 - 04/04/04 07:40 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Actually, I just updated the zip with the correct file names.

Should fix the issues

Top
#202681 - 05/09/04 02:11 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
OK, so I downloaded this one, and I seem to have similiar problems to Hamr. 4 games show up and work just fine (Battleship, Rigelian Hot Shots, Sheepish, and Smashing).

The other 4 games show up like this, $vars_wordlets_games{crash}, $vars_wordlets_games{flash}, $vars_wordlets_games{paint}, and $vars_wordlets_games{rocketman}.

These last 4 do not work when you click the links initially but by changing the name of the game files, you can make then work. However, I'm still stuck with the $vars_wordlets_games game names... Any ideas? Thanks in advance...

P.S. I looked in vars_wordlets_games.cgi but I'm not savvy enough to figure out what I need to change.
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202682 - 05/09/04 02:35 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
You have to add the games to vars_wordlets_games.cgi to have the wordlet show; it's liek any standard wordlet on your boards.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202683 - 05/09/04 03:03 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Quote:
Originally posted by Gizzy:

You have to add the games to vars_wordlets_games.cgi to have the wordlet show; it's liek any standard wordlet on your boards.


You must think I know what I'm doing... smile You give me a lot more credit than I deserve. Can I get the wordlets for dummies version please? Thanks!
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202684 - 05/09/04 03:47 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Open the file, copy the line from one of the other games, and change the last part to the name of the file minus the swf (you'll get the hang of it)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202685 - 05/09/04 04:21 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
OK, I opened vars_wordlets_games.cgi and this is what I have below. I tried to make a correlation between the games that worked, the file names, and what was showing on the games page.

%vars_wordlets_games = (

q!crashdown! => q!Crashdown!,
q!battleships! => q!Battleships!,
q!flashman! => q!Flash Man!,
q!smashing! => q!Smashing!,
q!rocketmandemo! => q!Rocket Man!,
q!sheepish! => q!Sheepish!,
q!stressgame! => q~Stress Relief! Paintball~,
q!rigelianhotshots! => q!Rigelian Hot Shots!,

File names

battleships.swf - *WORKING*
bg1.swf
*Displays as $vars_wordlets_games{rocketman}*
crashdownwm.swf
*Displays as $vars_wordlets_games{crash}*
flashmanwm.swf
*Displays as $vars_wordlets_games{flash}*
rigelian_hotshots.swf -
Displays correct name, but error "Sorry I can not find the game 'rigelianhotshots' you requested!"
rocketmandemo.swf
sheepish.swf - *WORKING*
smashing.swf - *WORKING*
stressgame.swf
*Displays as $vars_wordlets_games{paint}*

This would almost all seem to make sense about what to do except for Rigelian Hotshots where it's listed in the code as

q!rigelianhotshots! => q!Rigelian Hot Shots!

and diplays correctly but the file and/or link name is wrong.

So what is it I do where? smile

Just trying to understand so that I can one day move past these kinds of questions. Thanks again...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202686 - 05/09/04 04:59 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Ah... In that case, some of your Wordlets aren't matching. In other words, the script is looking for $vars_wordlets_games{rocketman}, but since $vars_wordlets_games{rocketman} doesn't exist in the Wordlets file (it's actually supposed to be $vars_wordlets_games{rocketmandemo}, which does exist) then it won't display as it should. Any clearer? If not, don't worry. smile

This is what the part of vars_wordlets_games.cgi that you posted should look like:

Code:
%vars_wordlets_games = (
  q!crash! => q!Crashdown!,
  q!battleships! => q!Battleships!,
  q!flash! => q!Flash Man!,
  q!smashing! => q!Smashing!,
  q!rocketman! => q!Rocket Man!,
  q!sheepish! => q!Sheepish!,
  q!paint! => q~Stress Relief! Paintball~,
  q!rigelianhotshots! => q!Rigelian Hot Shots!,
smile

Top
#202687 - 05/09/04 07:54 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Freaking awesome. It worked. Thanks so much for your help Gizzy and CTM!
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202688 - 05/09/04 08:34 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Was mainly chris lol... But you're welcome none the less... See, now that you've done it, isn't it friggen easy?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202689 - 05/09/04 09:45 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Trust me, I couldn't have done it without CTM's help. I have a long way to go before I can say it's easy. Without the detailed instructions of what to do, I'd be very lost. If things don't match up exactly from instructions to what I have in the code, I get nervous.

So far I've installed 13 hacks and various small design changes and I learn a little something on every one. I greatly appreciate all the help that's been given to me by everyone along the way.
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202690 - 07/28/04 06:09 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Updated to the new 2.6 version with new features.

Now uses the cache, so there should be much less server load.
Uses PHP acclerator, which reduces server load even more, and compresses the page
The games are now sorted by wordlet, not file name.


To upgrade, upload ubb_games.cgi, do the steps for ultimatebb.php, and do the new step in ubb_lib.cgi(it is marked)

Top
#202691 - 07/29/04 07:10 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
I have a question... Could this hack be implemented for one forum only, or installed in such a way as to only be accessible via a certain link (i.e., not be available board-wide)? I have a separate private forum and I'd like this be only available there. Any suggestions on how I would go about doing this?

Top
#202692 - 07/29/04 07:40 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
So you're saying that you only want people who've been given access to Forum X be given access to the games?

I'll look into this. No promises though

Top
#202693 - 07/29/04 08:58 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Ian, how about a referrer line?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202694 - 07/29/04 09:29 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
couple problems with that. one: we've learned from the upload script that you can't use the $ENV{REFERRER}. Not only that, but even if I were to use a form, it could easily be bypassed by anyone who viewed this topic.

I could do a password, but I don't wanna have to set up a cookie system.

So I'm back with checking permissions the normal way.

Top
#202695 - 07/30/04 07:49 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
"So you're saying that you only want people who've been given access to Forum X be given access to the games?"

Short and sweet, yes. That'd be ideal.

Top
#202696 - 07/31/04 07:06 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
New Version 2.6.1

Fixes a bug that allowed guests to play even if you disabled that.
Adds the ability to restrict access to members who have access to certain forums. You can choose multiple forums.

To upgrade:
Redo the "really big" step in ultimatebb.php
Upload the new ubb_games.cgi

Set the forums for which you want access permissions for in both ultimatebb.php and ubb_games.cgi. (This is explained in the files.)

Leave the arrays empty to disable this feature.

You can edit the new variable in ultimatebb.php to make it members-only

Code:
	// Set to 1 if you only wish logged in users to play games
	$RequireUserLogin = 1;

Top
#202697 - 08/01/04 07:28 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Thanks Ian, you rock! I'll get this installed ASAP! smile

Top
#202698 - 08/02/04 04:07 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Erm... I can't download the 1.8MB games zip...?

Top
#202699 - 08/02/04 04:08 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA

Top
#202700 - 08/02/04 06:31 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Thanks.

Top
#202701 - 08/04/04 08:25 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
There are two

if(preg_match("/^(ubb|f|t|p|daysprune|hardset|start_point|category

in ultimatebb.php - you don't specify after which one |show|page needs to be added. First, second, both? Thanks.

Top
#202702 - 08/04/04 09:53 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
OK, I think I got it work (just used it in the first instance).

Also, the game names in vars and game file names are still half wrong. Had to do a lot of renaming...

Top
#202703 - 08/09/04 08:28 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
LedFoot Offline
Junior Member

Registered: 01/02/03
Posts: 28
Loc: Toronto, Canada
I'm baaaaaccccck! (been pimped out by my consulting company for a while).

Sorry Ian. Great app from the demos but I can't seem to get my "upgraded" board running. I went from 6.4.whatever to 6.7.1 and tried to reinstall all the major hacks. This one just keeps eluding me though. I got it to the point where I get an "image/size.pm" error and can't get any further. (Get some "Sorry, can't find the game..." errors too).

Giz should remember I don't do much in the way of programming but I have managed to dig my way through a couple of the hacks already.

Am I missing a required hack like the CP Mods hack or something? I don't seem to have the size.pm file anywhere.

Top
#202704 - 08/09/04 08:35 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Size.pm is in the zip file. The games need to be renamed, but I do not have access to that zip to rename them, so you'll need to rename them yourself. Check earlier in this thread for working names

Top
#202705 - 08/09/04 08:40 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
LedFoot Offline
Junior Member

Registered: 01/02/03
Posts: 28
Loc: Toronto, Canada
Already renamed the games. Like I said, I have been up and down this one trying to get it to work. I will take a closer look at the zip. Doesn't surprise me that I missed it. I was trying to slip it in to my upgrade and was moving a little too fast I guess.

I have also set this up as a MultiHack file if anyone is interested. I will obviously have to fix it now.

Thanx for the quick response Ian.

Top
#202706 - 08/10/04 06:22 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
LedFoot Offline
Junior Member

Registered: 01/02/03
Posts: 28
Loc: Toronto, Canada
Thanx. Got it working once I opened my eyes... Can't believe I missed the pm file.

Top
#202707 - 08/10/04 10:46 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Don't worry about it, we've all done it (a few times hehe)...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202708 - 08/15/04 11:19 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
I upgraded to the new version on this hack and it seems that unregistered users can still play games even though I have $RequireUserLogin = 1; in ultimatebb.php. Any ideas? Thanks in advance...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202709 - 08/15/04 04:21 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
if it's set to 1, it forwards the user to the cgi script if they're not logged in. The script then needs to also be set to registered only

Top
#202710 - 08/15/04 06:43 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Uhh, OK. How do I do that? smile
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202711 - 08/15/04 06:51 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
in ubb_games.cgi where it says so

Top
#202712 - 08/15/04 09:47 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Ahh.. that was the ticket. Thanks!
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202713 - 02/12/05 11:48 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
RoxSeibert Offline
Member

Registered: 02/20/03
Posts: 178
Loc: highspire, pa
Quote:
Originally posted by Ian Spence:

Download Links:
Current Version - Use if upgrading or first install
(1.8mb) - only the flash/graphics files

Download both zips if this is your first install.


psssst.... the flash/graphics link is busted help
_________________________
~=Rox
http://dragboatalley.com/cgi-bin/ultimatebb.cgi

dangerously inspired by ubbdev,
but i still absolutely HATE perl.

Top
#202714 - 02/13/05 12:32 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
download the version in the other games thread

Top
#202715 - 04/12/05 03:09 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Hussein Offline
Junior Member

Registered: 10/29/01
Posts: 24
I know the games are free, but I just want to make sure that there is no copyright violation if we host the games on our site. I don't want to get sued by Miniclip.com for copyright infringement.

Top
#202716 - 04/12/05 03:19 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
You can read the MiniClip.com Game License at any time.

Quote:
quote:
GRANT OF LICENSE
Miniclip Ltd. grants you a limited non-exclusive license to use the SOFTWARE. The license fee is a flexible pricing schedule that may be imposed and altered at any time. At this moment the license fee is free. You agree to pay any such licensing fee that may be imposed in the future or to remove the SOFTWARE from your site immediately. Miniclip Ltd. is not obligated to supply any support whatsoever. Miniclip Ltd reserves the right to revoke this License and or restrict the use of the SOFTWARE on a website or its distribution at any time, for any reason. The SOFTWARE may not be used on sites that are pornographic, hate related, racist or other types of sites that Miniclip Ltd. in it's sole discretion sees as being unsuitable. Miniclip Ltd. may also at its sole discretion exclude websites or companies from software licenses. If you are using the SOFTWARE on a website and you are notified by Miniclip Ltd. to remove it you agree to do so immediately.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202717 - 04/13/05 12:58 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Hussein Offline
Junior Member

Registered: 10/29/01
Posts: 24
Thanks, Gizzy. The information was helpful.

Top
#202718 - 09/24/05 01:12 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
Hey Ian, where did you move the game download files to?
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202719 - 09/24/05 12:33 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA

Top
#202720 - 09/24/05 03:56 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
crap, she did it again, help me.. help me..

http://hogwartsbynight.com/cgi-bin/ubb/ultimatebb.cgi/games?
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202721 - 09/24/05 04:06 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
The reason you see games such as rocketman although there is no Shockwave Flash file is that there is an image file. You have to delete it as well (/ubb/games/rocketmanbigicon.gif for example). If you added an swf file but you don't see the icon, it's because you have to add a gif file with a corresponding name + "bigicon".

Also, you have to add the names of each game you add to vars_wordlets_games.cgi.
For example, for Rocket Man, add the following into vars_wordlets_games.cgi (around the middle):
Code:
"rocketman" => "Rocket Man",
For the other games, replace "rocketman" with what you see at your /games page:
$vars_wordlets_games{crash} is for "crash". Replace "Rocket Man" with the name you want the game to have.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202722 - 09/24/05 04:11 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
Its exactly how I copied it out of the files

%vars_wordlets_games = (
q!crashdown! => q!Crashdown!,
q!battleships! => q!Battleships!,
q!flashman! => q!Flash Man!,
q!smashing! => q!Smashing!,
q!rocketmandemo! => q!Rocket Man!,
q!sheepish! => q!Sheepish!,
q!stressgame! => q~Stress Relief! Paintball~,
q!rigelianhotshots! => q!Rigelian Hot Shots!,
q!games_games! => q!UBB.Games!,
q!games_index! => q!Games index!,
q!games_link! => q!games!,
q!games_title! => q!Play some games.!,
q!games_courtesy! => q!Games Courtesy of!,
q!games_mod! => q!Games Mod!,
q!choose! => q!<small><b>Select a game to play.</b></small>!,
q!games_game! => q!Now Playing... !,
q!back_games_index! => q!Back to Games index!,

);


1;


====

So I tried this and it still does not work

%vars_wordlets_games = (
q!crashdownwm! => q!Crashdown!,
q!battleships! => q!Battleships!,
q!flashmanwm! => q!Flash Man!,
q!smashing! => q!Smashing!,
q!rocketmandemo! => q!Rocket Man!,
q!sheepish! => q!Sheepish!,
q!stressgame! => q~Stress Relief! Paintball~,
q!rigelian_hotshots! => q!Rigelian Hot Shots!,
q!games_games! => q!UBB.Games!,
q!games_index! => q!Games index!,
q!games_link! => q!games!,
q!games_title! => q!Play some games.!,
q!games_courtesy! => q!Games Courtesy of!,
q!games_mod! => q!Games Mod!,
q!choose! => q!<small><b>Select a game to play.</b></small>!,
q!games_game! => q!Now Playing... !,
q!back_games_index! => q!Back to Games index!,

);


1;

Then I tried this..

%vars_wordlets_games = (
"crashdownwm" => "Crashdown",
"battleships" => "Battleships",
"flashmanwm" => "Flash Man",
"smashing" => "Smashing",
"rocketmandemo" => "Rocket Man",
"sheepish" => "Sheepish",
"stressgame" => "Stress Relief! Paintball",
"rigelian_hotshots" => "Rigelian Hot Shots",
q!games_games! => q!UBB.Games!,
q!games_index! => q!Games index!,
q!games_link! => q!games!,
q!games_title! => q!Play some games.!,
q!games_courtesy! => q!Games Courtesy of!,
q!games_mod! => q!Games Mod!,
q!choose! => q!<small><b>Select a game to play.</b></small>!,
q!games_game! => q!Now Playing... !,
q!back_games_index! => q!Back to Games index!,

);


1;

Still nothing
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202723 - 09/24/05 05:11 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
It's not "rocketmandemo", it's "rocketman"..
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202724 - 09/24/05 05:13 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
It seems either way I try it I can't get any of it to work, is there any way you can set it right so I can copy paste it, I'm trying really hard but its not helping at all
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202725 - 09/24/05 06:54 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
Alright, I tried to change the games with something else I wanted. But for some reason on the page itself it just says canon or tetris, but in the var's file.. its the right names.. I really don't get it.


Quote:
quote:</font><hr />%vars_wordlets_games = (
q!cannonblast! => q!cannonblast!,
q!Tetriswm! => q!Tetriswm!,
q!battleships! => q!Battleships!,
q!sheepish! => q!Sheepish!,
q!games_games! => q!UBB.Games!,
q!games_index! => q!Games index!,
q!games_link! => q!games!,
q!games_title! => q!Play some games.!,
q!games_courtesy! => q!Games Courtesy of!,
q!games_mod! => q!Games Mod!,
q!choose! => q!<small><b>Select a game to play.</b></small>!,
q!games_game! => q!Now Playing... !,
q!back_games_index! => q!Back to Games index!,

);


1;<hr /></blockquote>on the page
<blockquote><font class="small">quote:
[qb]
$vars_wordlets_games{cannon}


$vars_wordlets_games{tetris}[/qb]
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202726 - 09/24/05 07:27 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
change q!cannonblast! (the first one on the line) to q!cannon!

Top
#202727 - 09/24/05 07:45 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
You know I just figured that out after reading the thread over and over, gods I feel as much as a dumbass as I am probably looking like to you. I got it, I'm catching on.
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202728 - 09/24/05 09:55 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
hehe, it takes all of us a while to catch on smile
_________________________
- Allen wavey
- What Drives You?

Top
#202729 - 09/24/05 09:58 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
Beware, I got a lot more mods I want to do mehehe
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202730 - 10/22/05 01:35 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
God Offline
Member

Registered: 09/16/05
Posts: 44
Will this work for 6.6 and is there a way to save high scores?? The highscore feature is definately needed.

Top
#202731 - 10/23/05 08:45 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
no it won't, and no there isn't

Top
#202732 - 10/24/05 06:30 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
McJ Offline
Junior Member

Registered: 01/13/05
Posts: 19
UBB.Games is an excellent add-on! Thank you for your efforts. Some renaming of files, and a reflection of those changes in var_games_wordlets were needed, but apart from that, it's a VERY welcome addition to my forum.

Thanks again!

Top
#202733 - 12/26/05 02:37 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
hmmm... if you are not logged in and you have it set to members-only AND you have the accelerator turned on, when you click on the ultimatebb.php?/games.html link it sends you to the forum index ( /ultimatebb.cgi?/games.html&r=gamesnoaccess ) but not to the login page... anyway to fix that? I'm not seeing it yet.

Using v2.6.1 on ubb 6.7.3

thank you smile
_________________________
- Allen wavey
- What Drives You?

Top
#202734 - 01/02/06 07:40 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
try replacing the line in ulimatebb.php
Code:
silly_redirection ("Location: $CGIURL/ultimatebb.cgi$location&r=gamesnoaccess", "noaccess");
with

Code:
silly_redirection ("Location: $CGIURL/ultimatebb.cgi$location", "noaccess");
I never really check the parameter, back then I just wrote code to match the code already in the file

Top
#202735 - 01/03/06 11:32 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
grazi, will try it smile
_________________________
- Allen wavey
- What Drives You?

Top
Page 1 of 4 1 2 3 4 >



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks